var mongoose = require('mongoose')

var critiquesScheam = mongoose.Schema({
    detail_ID: String,
    poster: String,
    use_critiques: String,
    created_at: { type: Date, default: Date.now },
    update_at: { type: Date, default: Date.now },

})

var comment = mongoose.model('Comment', critiquesScheam);

module.exports = comment;